package com.hncj1.hello;

public class mouse implements USB {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public mouse(String name) {
        this.name = name;
    }


    public void connect() {
        System.out.println(name+"连接成功");

    }


    public void disconnect() {
        System.out.println(name+"断开连接");
    }
    public void click1(){
        System.out.println(name+"双击");
    }
}
